'use strict';

define([
  'angular',
  'angularAMD',
  'angular-cookies'
], function(ng, angularAMD) {

  angularAMD.controller('pageCtrl', ['$scope', '$http','ngDialog', '$location', '$timeout', '$cookies',
    function($scope, $http, ngDialog,$location, $timeout, $cookies) {
      var mainSlider,adBanner1,adBanner2,initSwiperFlag;
      var hasMore = true,page = 1,limit = 6;

      $scope.need_scroll = false;

      var $w = $(window);
      $w.unbind("scroll");
      $scope.gohome = function(){
          // console.log(11);
          $location.path("/home");
        
      }


    }
  ]);



});
